package com.android.hdhe.uhf.main;

import java.util.ArrayList;
import java.util.List;

import android.app.Application;
/**
 * 用于保存一些全局变量
 * @author Administrator
 *
 */
public class MyApplication extends Application {
	
	private List<String> listEpc = new ArrayList<String>(); //盘存到的EPC
	private String selectEPC = null;//选择的EPC
	private String password = null;//访问密码,默认为00000000
	
	
	public String getPassword() {
		return password;
	}



	public void setPassword(String password) {
		this.password = password;
	}



	public String getSelectEPC() {
		return selectEPC;
	}



	public void setSelectEPC(String selectEPC) {
		this.selectEPC = selectEPC;
	}



	public List<String> getListEpc() {
		return listEpc;
	}



	public void setListEpc(List<String> listEpc) {
		this.listEpc = listEpc;
	}

	
	public void addEPC(String epc){
		if(listEpc != null){
			listEpc.add(epc);
		}
	}


	@Override
	public void onCreate() {
		// TODO Auto-generated method stub
		super.onCreate();
	}

}
